﻿namespace Infrastructure.IocContainer
{
    public interface IContainer
    {
        T Resolve<T>();
        T Resolve<T>(string key);
        void RegisterType<T, R>() where R : T;
        void RegisterType<T, R>(string key) where R : T;
    }
}
